package com.lyl.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ApiController {

	@GetMapping("/api-admin")
	public String hello_admin() {
		return "hello,admin";
	}
	@GetMapping("/api-user")
	public String hello_user() {
		return "hello,user";
	}
}
